import _fetch from './request.js'


function getRegisterSMSCode(data) {
    return _fetch({
        url: "/sendsms",
        method: "post",
        data
    });
}

function registerPost(data) {
    return _fetch({
        url: '/register',
        method: 'post',
        data
      });
}

export {getRegisterSMSCode, registerPost}